#include "DataPoint.h"

DataPoint::DataPoint()
    : m_id(0), m_temperature(-1.0), m_pressure(-1.0), m_flow(-1.0)
{
}

DataPoint::DataPoint(const QString &deviceId, double temperature, double pressure, double flow)
    : m_id(0),
      m_deviceId(deviceId),
      m_timestamp(QDateTime::currentDateTime()),
      m_temperature(temperature),
      m_pressure(pressure),
      m_flow(flow)
{
}
